import React, {Component} from 'react';
import NavigationBar from '../../Common/NavigationBar/NavigationBar.jsx'
//import Using ES6 syntax
import WeUI from 'react-weui';
//import styles
import 'weui';
import 'react-weui/build/dist/react-weui.css';
import {CSS} from '../styles/Invite.css';
const {
    Cells,
    Cell,
    CellHeader,
    CellBody,
    CellFooter,
    Toptips,
    Input,
    TextArea,
    Picker,
    CellsTitle,
    Dialog
} = WeUI;
export default class InviteJoinSuccess  extends Component {
    constructor(props) {
        super(props);
        this.LeftClick = this.LeftClick.bind(this);
        this.state = {

        };
    }

    showWarn(text) {
        this.setState({showWarn: true, tipText: text});
        this.state.warnTimer = setTimeout(() => {
            this.setState({showWarn: false});
        }, 2000);
    }


    componentWillMount() { //组件即将被插入

    }

    LeftClick() {

    }




    render() {
        return (
            <div>
                <NavigationBar Title="员工邀请" LeftBar="true" LeftTitle="返回"
                               LeftIconSrc="/iot-meeting/assets/images/common/nav_back_icon.png" LeftClick={this.LeftClick}/>
                <img className="invite_success_icon" src="/iot-meeting/assets/images/InviteJoin/invite_success.png"/>
                <div className="invite_success_title">加入成功</div>
                <div className="invite_Welcome_title">恭喜你将成为公司里不可或缺的一份子！</div>
            </div>
        )
    }
}